package com.kly.user.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.kly.user.db.dao.UserAccessDao;
import com.kly.user.db.entity.UserAccessEntity;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
* User: yujianfu
* Date: 2023-05-22
* Time: 10:46:07.395
*/

@Repository
public class UserAccessDaoImpl extends AbstractBaseMapper<UserAccessEntity> implements UserAccessDao {

    @Override
    public int deleteByUserCode(String userCode){
        return getSqlSession().delete(this.getStatement("deleteByUserCode"), userCode);
    }
}